import type { ECharts } from "echarts";

/**
 * echarts 获取 optiins 配置函数类型
 */
export type LabelLayoutFunctionType = (ec?: any) => Promise<CommonEcharts.CommonEchartsOption>;

/**
 * echarts 获取 更新的 optiins 配置函数类型
 */
export type GetOptionsCallBackType = (o: CommonEcharts.CommonEchartsOption) => Promise<ECharts>;

/**
 * echarts 获取 echarts 实例
 */
export type EchartsInstanceFunctionType = (eci?: ECharts, cb?: GetOptionsCallBackType) => void;
